package com.sdp.irrigation.db.irrigation_location.service;

import com.sdp.irrigation.entity.IrrigationLocation;

import java.util.List;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 国家地理信息 服务类
 * </p>
 *
 * @author zsp
 * @since 2024-12-14
 */
public interface IIrrigationLocationService extends IService<IrrigationLocation> {

	/**
	 * 根据层级查询地理信息
	 * @param level
	 * @return
	 */
	List<IrrigationLocation> queryLocationByLevel(String level);
	
	List<JSONObject> queryLocationTree();
}
